package com.t282.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.Chen
 * @since 2021-05-19
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="CstActivity对象", description="")
public class CstActivity extends Model<CstActivity> {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "编号")
      @TableId(type = IdType.AUTO,value = "atv_id")
      private Long atvId;

      @ApiModelProperty(value = "客户编号")
      private String atvCustNo;

      @ApiModelProperty(value = "客户姓名")
      private String atvCustName;

      @ApiModelProperty(value = "时间")
      private Date atvDate;

      @ApiModelProperty(value = "地点")
      private String atvPlace;

      @ApiModelProperty(value = "概要")
      private String atvTitle;

      @ApiModelProperty(value = "详细信息")
      private String atvDesc;

      @ApiModelProperty(value = "备注")
      private String atvRemark;


    @Override
    protected Serializable pkVal() {
          return this.atvId;
      }

}
